from hashlib import new
from re import sub
import string
from this import d
from tracemalloc import start


dxm = "cbcdxm"
len = len(dxm)
for i in range(len):
    print(i,dxm)

old = "bc"
new = "ok"
i = dxm.replace(old,new)
print(i)

bcdxm = "123 456 789 987 654 321"
print(bcdxm.split())
print(bcdxm.split("8"))
print(bcdxm.split("7",2))
